<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Form标签的使用</title>
</head>
<body>
<form action="FormDemo.html" method="get">
  <table align="center">
      <tr>
          <td align="right">用户名：</td>
          <td align="left"><input type="text" name="username"/></td>
      </tr>
      <tr>
          <td align="right">密码：</td>
          <td align="left"><input type="password" name="userpwd"/></td>
      </tr>
      <tr>
          <td align="right">性别：</td>
          <td align="left">
              <input type="radio" name="sex" value="m">男
              <input type="radio" name="sex" value="f">女
          </td>
      </tr>
      <tr>
          <td align="right">兴趣：</td>
          <td align="left">
              <input type="checkbox" name="interest" value="sing">唱
              <input type="checkbox" name="interest" value="dance">跳
              <input type="checkbox" name="interest" value="rap">rap
              <input type="checkbox" name="interest" value="basketball">篮球
          </td>
      </tr>
      <tr>
          <td align="right">出生日期：</td>
          <td align="left">
              <input type="date" name="date" />
          </td>
      </tr>
      <tr align="center">
          <td colspan="2">
              <input type="submit" name="submit" />
              <input type="reset" name="reset" />
          </td>
      </tr>
  </table>
</form>
</body>
</html>